import utils from './utils/utils'
import https from './utils/request'
wx.utils = utils
wx.https = https
// app.js
App({
  globalData: {},
  token:wx.getStorageSync('token'),
  refreshToken:wx.getStorageSync('refreshToken'),
  
  // 存储两个token方法
  tokenmethod(key,token) {
    // app实列存储
    this[key] = token
    // 本地储存
    wx.setStorageSync(key,token)
  }
})
// console.log(getApp());
